home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Sample Controls / BDiamond / Register.h < prev   
Encoding:
C/C++ Source or Header  |  1996-12-21  |  3.1 KB  |  113 lines  |  [TEXT/MPS ]

  1. #ifndef _BDRegister_
  2. #define _BDRegister_
  3.  
  4. #if defined(OCTICKER)
  5.  
  6. // {dd0d6600-1a90-11d0-9d0e-83fc5fa8b2ac}
  7. DEFINE_GUID(CLSID_ocx, 
  8. 0xdd0d6600, 0x1a90, 0x11d0, 0x9d, 0x0e, 0x83, 0xfc, 0x5f, 0xa8, 0xb2, 0xac);
  9.  
  10. #define kOCXFullUserTypeName            "Ticker"
  11. #define kOCXProgID                        "Ticker"
  12. #define kOCXCLSID                        "{dd0d6600-1a90-11d0-9d0e-83fc5fa8b2ac}"
  13.  
  14. #include "CErrorControl.h"
  15. #include "CTickerControl.h"
  16. #define CControl CTickerControl
  17.  
  18. #elif defined(OCPOPUPMENU)
  19.  
  20. // {699c5f80-3bcb-11d0-a0b1-83409fa8728c}
  21. DEFINE_GUID(CLSID_ocx, 
  22. 0x699c5f80, 0x3bcb, 0x11d0, 0xa0, 0xb1, 0x83, 0x40, 0x9f, 0xa8, 0x72, 0x8c);
  23.  
  24. #define kOCXFullUserTypeName            "PopupMenu"
  25. #define kOCXProgID                        "PopupMenu"
  26. #define kOCXCLSID                        "{699c5f80-3bcb-11d0-a0b1-83409fa8728c}"
  27.  
  28. #include "CPopupMenuControl.h"
  29. #define CControl CPopupMenuControl
  30.  
  31. #elif defined(OCBUTTON)
  32.  
  33. // {9da56300-26a7-11d0-a0b1-830322a8efbc}
  34. DEFINE_GUID(CLSID_ocx, 
  35. 0x9da56300, 0x26a7, 0x11d0, 0xa0, 0xb1, 0x83, 0x03, 0x22, 0xa8, 0xef, 0xbc);
  36.  
  37. #define kOCXFullUserTypeName            "Button2"
  38. #define kOCXProgID                        "Button2"
  39. #define kOCXCLSID                        "{9da56300-26a7-11d0-a0b1-830322a8efbc}"
  40.  
  41. #include "CButton2Control.h"
  42. #define CControl CButtonControl
  43.  
  44. #elif defined(OCCONSOLE)
  45.  
  46. // {2fe16e80-2842-11d0-a0b1-83a9f0e821cc}
  47. DEFINE_GUID(CLSID_ocx, 
  48. 0x2fe16e80, 0x2842, 0x11d0, 0xa0, 0xb1, 0x83, 0xa9, 0xf0, 0xe8, 0x21, 0xcc);
  49.  
  50. #define kOCXFullUserTypeName            "Console"
  51. #define kOCXProgID                        "Console"
  52. #define kOCXCLSID                        "{2fe16e80-2842-11d0-a0b1-83a9f0e821cc}"
  53.  
  54. #include "CConsoleControl.h"
  55. #define CControl CConsoleControl
  56.  
  57. #elif defined(OCPOPUPWINDOW)
  58.  
  59. // {06393281-4772-11d0-863a-82acc457f50c}
  60. DEFINE_GUID(CLSID_ocx, 
  61. 0x06393281, 0x4772, 0x11d0, 0x86, 0x3a, 0x82, 0xac, 0xc4, 0x57, 0xf5, 0x0c);
  62.  
  63. #define kOCXFullUserTypeName            "PopupWindow"
  64. #define kOCXProgID                        "PopupWindow"
  65. #define kOCXCLSID                        "{06393281-4772-11d0-863a-82acc457f50c}"
  66.  
  67. #include "CPopupWindowControl.h"
  68. #define CControl CPopupWindowControl
  69.  
  70. #elif defined(OCGRADIENT)
  71.  
  72. // {e6e49180-4461-11d0-904e-82de5043c132}
  73. DEFINE_GUID(CLSID_ocx, 
  74. 0xe6e49180, 0x4461, 0x11d0, 0x90, 0x4e, 0x82, 0xde, 0x50, 0x43, 0xc1, 0x32);
  75.  
  76. #define kOCXFullUserTypeName            "Gradient"
  77. #define kOCXProgID                        "Gradient"
  78. #define kOCXCLSID                        "{e6e49180-4461-11d0-904e-82de5043c132}"
  79.  
  80. #include "CErrorControl.h"
  81. #include "CGradientControl.h"
  82. #define CControl CGradientControl
  83.  
  84. #elif defined(OCLABEL)
  85.  
  86. // {8fb52c00-32bc-11d0-904e-830892837ff2}
  87. DEFINE_GUID(CLSID_ocx, 
  88. 0x8fb52c00, 0x32bc, 0x11d0, 0x90, 0x4e, 0x83, 0x08, 0x92, 0x83, 0x7f, 0xf2);
  89.  
  90. #define kOCXFullUserTypeName            "Label"
  91. #define kOCXProgID                        "Label"
  92. #define kOCXCLSID                        "{8fb52c00-32bc-11d0-904e-830892837ff2}"
  93.  
  94. #include "CErrorControl.h"
  95. #include "CLabelControl.h"
  96. #define CControl CLabelControl
  97.  
  98. #elif defined(OCMENU)
  99.  
  100. // {5d2b8000-4152-11d0-a0b1-83f844a8cd9c}
  101. DEFINE_GUID(CLSID_ocx, 
  102. 0x5d2b8000, 0x4152, 0x11d0, 0xa0, 0xb1, 0x83, 0xf8, 0x44, 0xa8, 0xcd, 0x9c);
  103.  
  104. #define kOCXFullUserTypeName            "Menu"
  105. #define kOCXProgID                        "Menu"
  106. #define kOCXCLSID                        "{5d2b8000-4152-11d0-a0b1-83f844a8cd9c}"
  107.  
  108. #include "CMenuControl.h"
  109. #define CControl CMenuControl
  110.  
  111. #endif
  112.  
  113. #endif // _BDRegister_